import { defineComponent } from 'vue'

import type { IconType } from '@/types/Icontsx'

function email(props: IconType): JSX.Element {
  return (
    <svg
      class="icon"
      viewBox="0 0 1024 1024"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      p-id="6649"
      width={props.size}
      height={props.size}
    >
      <path
        d="M104.9 233.1v557.8H919V233.1H104.9z m715.2 46L512 484.4 203.9 279.1h616.2zM150.9 744.9V299L512 539.6 873.1 299v445.9H150.9z"
        p-id="6650"
        fill="currentcolor"
      ></path>
    </svg>
  )
}

export default defineComponent({
  props: {
    size: {
      type: Number,
      default: 24
    }
  },
  render(props: IconType) {
    return email(props)
  }
})
